package com.surge;

public class Car {

	private String brand;

	public String getBrand() {
		return brand;
	}

	public void setBrand(String brand) {
		this.brand = brand;
	}

	@Override
	public String toString() {
		return "Car [brand=" + brand + "]";
	}
	
	
	
	public Car() {
		super();
		System.out.println("===== 构造方法 ====");
	}

	// 自定义初始化方法
	public void init(){
		
		System.out.println("===== INIT ====");
		
	}
	
	// 自定义销毁方法
	public void destory(){
		
		System.out.println("===== DESTORY ====");
		
	}
	
	
	
}
